package org.sang.pojo.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * ums_menus 表实体类
 */
public class MenuDTO implements Serializable {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 父菜单ID
     */
    private Integer parentId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 菜单标题
     */
    private String title;
    /**
     * 菜单级别
     */
    private Integer level;

    /**
     * 菜单排序数字
     */
    private Integer sort;

    /**
     * 菜单英文名称,用于与前端路由组件匹配
     */
    private String name;

    /**
     * 菜单图标
     */
    private String icon;

    /**
     * 是否隐藏不作为菜单：0-显示;1-隐藏
     */
    private Integer hidden;

    /**
     * 访问需要的角色，多个角色可访问使用|符号分隔
     */
    private String requireRole;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getHidden() {
        return hidden;
    }

    public void setHidden(Integer hidden) {
        this.hidden = hidden;
    }

    public String getRequireRole() {
        return requireRole;
    }

    public void setRequireRole(String requireRole) {
        this.requireRole = requireRole;
    }
}
